﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;

namespace WebApplication1
{
    public class BundleConfig
    {
        #region 后台登录
        public const string LoginJS = "~/bundles/loginJS";
        public const string LoginCss = "~/bundles/LoginCss";
        #endregion
        #region 后台母版

        public const string LayoutJs = "~/bundles/layoutJs";
        public const string LayoutCss = "~/bundles/layoutCss";
        #endregion
        #region VueJS框架

        public const string VueJs= "~/bundles/vueJs";
        #endregion




        #region 注册/添加
        public static void ResisterBundles(BundleCollection bundles) {
            #region 后台登录
            bundles.Add(new ScriptBundle(LoginJS)
                .Include(
                @"~/content/JS/jquery-3.2.1.min.js",
                @"~/content/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/js/bootstrap.min.js",
                @"~/content/JS/Toastr/toastr.min.js",//消息通知
                @"~/content/JS/Login/login.js"
                ));
            bundles.Add(new StyleBundle(LoginCss).Include(
                @"~/content/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/css/bootstrap.min.css",
                @"~/content/CSS/Toastr/toastr.min.css",
                @"~/content/CSS/login/login.css"

                ));

            #endregion
            #region 后台母版
            bundles.Add(new ScriptBundle(LayoutJs)
               .Include(
               @"~/content/JS/jquery-3.2.1.min.js",
               @"~/content/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/js/bootstrap.min.js",
               @"~/content/JS/jquery.confirm/jquery.confirm.min.js",//弹出框
               @"~/content/JS/Select2/select2.min.js",//下拉框
               @"~/content/JS/FileInput/fileinput.min.js",//fileinput
               //@"~/content/JS/Bootstrap-fileupload/bootstrap-fileinput.js",
               @"~/content/JS/FileInput/zh.js",//fileinput中文
               @"~/content/JS/Toastr/toastr.min.js",//消息通知
               @"~/content/JS/JqueryValidate/jquery.validate.min.js",
               @"~/content/JS/JqueryValidate/jquery.validate.unobtrusive.min.js",
               @"~/content/JS/Treeview/bootstrap-treeview.min.js",
               @"~/content/Nestable/jquery.nestable.js",
               @"~/content/JS/layoout/common.js",
               @"~/content/JS/layoout/custom.min.js"

               ));
            bundles.Add(new StyleBundle(LayoutCss).Include(
                @"~/content/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/css/bootstrap.min.css",
                @"~/content/font-awesome-4.7.0/font-awesome-4.7.0/css/font-awesome.min.css",
                @"~/content/CSS/Select2/select2.min.css",
                @"~/content/CSS/FileInput/fileinput.min.css",
                //@"~/content/CSS/Bootstrap-fileupload/bootstrap-fileinput.css",
                @"~/content/CSS/Toastr/toastr.min.css",
                @"~/content/CSS/Treeview/bootstrap-treeview.min.css",
                @"~/content/CSS/Nestable/jquery.nestable.css",
                @"~/content/CSS/layout/custom.min.css",
                @"~/content/CSS/layout/common.css"

                ));
            #endregion
            #region  Vue
            bundles.Add(new ScriptBundle(VueJs)
              .Include(
              @"~/content/JS/Vue/vue.min.js"
              //@"~/content/JS/Vue/vue.runtime.min.js"

              ));
            #endregion
        }
        #endregion




    }
}